<?php

namespace app\company\validate;


class CompanyOrderValidate extends BaseValidate
{
    public function __construct()
    {
        $rule = [
            "rules" => "require|array",
        ];

        $message = [
            "rules.require" => "规格不能为空",
            "rules.array"   => "规格值必须为数组",
        ];

        $scene = [
            'add' => ['rules']
        ];
        parent::__construct($rule, $message, $scene);
    }
}